﻿using System;
using System.Collections.Generic;


using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WineModel
{
    /// <summary>
    /// 订单表
    /// </summary>
   public  class Indent
    {
      
       /// <summary>
        /// 订单编号
       /// </summary>
       public int IndentID { get; set; }
       /// <summary>
       /// 快递单号
       /// </summary>
       public string IndentNumbers { get; set; }
       /// <summary>
       /// 订单状态（0/1）0:非正常1:正常
       /// </summary>
       public int IndentStart { get; set; }
       /// <summary>
       /// 支付状态0:未支付1:支付
       /// </summary>
       public int PaymentStatus { get; set; }
       /// <summary>
       /// 运费
       /// </summary>
       public decimal Payfreight { get; set; }
       /// <summary>
       /// 应付金额
       /// </summary>
       public decimal PayDue { get; set; }
       /// <summary>
       /// 支付方式
       /// </summary>
       public int Payment { get; set; }
       /// <summary>
       /// 买家留言
       /// </summary>
       public string LeaveWord { get; set; }
       /// <summary>
       /// 购买时间
       /// </summary>
       public DateTime IndentDate { get; set; }
       /// <summary>
       /// 会员编号
       /// </summary>
       public int UsersID { get; set; }

       public virtual Users Users { get; set; }
       /// <summary>
       /// 是否发货
       /// </summary>
       public int Indentship { get; set; }
       /// <summary>
       /// 收货人
       /// </summary>
       public string ConsigneeName { get; set; }
       /// <summary>
       /// 所在地区编号
       /// </summary>
       public int AreaID { get; set; }
       public virtual Area Area { get; set; }
       /// <summary>
       /// 详细地址
       /// </summary>
       public string ConsigneeAddr { get; set; }

       /// <summary>
       /// 手机号
       /// </summary>
       public int ConsigneeTel { get; set; }
       /// <summary>
       /// 快递公司
       /// </summary>
       public string Express { get; set; }
       /// <summary>
       /// 库房
       /// </summary>
       public string InventoryID { get; set; }
       /// <summary>
       /// 订单总金额
       /// </summary>
       public decimal Total { get; set; }
       /// <summary>
       /// 物流状态(0:)
       /// </summary>
       public int Logistics { get; set; }   
    }
}
